/*
 * @Copyright: Citylife 2021
 * @Author: yu.zuo
 * @Date: 2021-03-22 11:42:16
 * @Description: 
 */
import 'dart:io';

import '../../easy_log.dart';

abstract class LogFile {
  Future init();
  Future unInit();
  void initSync();
  void unInitSync();
  Future open(String root, String appKey, String uid);
  void openSync(String root, String appKey, String uid);
  Future close();
  void closeSync();
  Future addOne(EasyLogMessage message);
  Future addMore(List<EasyLogMessage> messages);
  void addOneSync(EasyLogMessage message);
  void addMoreSync(List<EasyLogMessage> messages);
  Future fileSize();
  int fileSizeSync();
  Future parentDirectory();
  Directory parentDirectorySync();
}
